// 加密 AES-128-CBC  
public function aes128_encrypt($data)
  {
    $iv = base64_decode('iEkopdSW5WsbdYozTEdYmg==');
    $key = base64_decode('QONsyy3L3vktCCf00G9wpA==');
    $encrypt = base64_encode(openssl_encrypt($data,'AES-128-CBC',$key,1,$iv));
    return str_replace(['+','/'],['-','_'],$encrypt);
  }
  // 解密 AES-128-CBC
  public function aes128_decrypt($data)
  {
    $data = str_replace(['-','_'],['+','/'],$data);
    $iv = base64_decode('iEkopdSW5WsbdYozTEdYmg==');
    $key = base64_decode('QONsyy3L3vktCCf00G9wpA==');
    return openssl_decrypt( base64_decode($data,true), 'AES-128-CBC', $key, 1,$iv);
  }